package server;

public class Item {
	public static String name;
	public static String trader;
	public static int amount;
	public static float price;
	
	public Item(String name, float price, int amount, String trader){
		Item.name = name;
		Item.price = price;
		Item.amount = amount;
		Item.trader = trader;
	}
	
	public void setName(String name){
		Item.name = name;
	}
	
	public void setPrice(float price){
		Item.price = price;
	}
	
	public void setTraderName(String name){
		Item.trader= name;
	}
	
	public void setAmount(int num){
		Item.amount = num;
	}
	
	public String getName(){
		return name;
	}
	
	public float getPrice(){
		return price;
	}
	
	public int getAmount(){
		return amount;
	}
	
	public String getTrader(){
		return trader;
	}
}
